<?php
//Datos de configuracion del sitio

JHTML::_('behavior.framework', true);

$app = JFactory::getApplication();

//echo $app->getCfg('sitename');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
        <jdoc:include type="head" />
        <link rel="stylesheet" href="/templates/sooner/media/css/ui-lightness/jqueryui.css" type="text/css" />
        <link rel="stylesheet" href="/templates/sooner/media/js/fancybox/jquery.fancybox-1.3.4.css" type="text/css" />
        <link rel="stylesheet" href="/templates/sooner/media/css/sooner.css" type="text/css" />
        <link rel="stylesheet" href="/templates/sooner/media/css/quickmenu.css" type="text/css" />
        <link rel="stylesheet" href="/templates/sooner/css/template.css" type="text/css" />
        <link rel="stylesheet" href="/templates/sooner/media/css/custom.css" type="text/css" />
        
    </head>

    <body>
        <div id="fb-root"></div>
        <div class="block bgcontainer">
            <div class="block container"> <a href="/" id="logo" title="<?php echo $app->getCfg('sitename'); ?>" class="loading"> </a>
                <div class="block topmenu">
                    <jdoc:include type="modules" name="top" style="none" />                    
                </div>
                <div id="slideshow" class="block slideshow"> <img class="holder" src="/templates/sooner/media/images/logo_max.png" /> </div>
                <div class="block whitewave">
                    <div class="block search">
                        <jdoc:include type="modules" name="search" style="xhtml" />
                    </div>
                    <div class="block language">
                        <jdoc:include type="modules" name="language" style="xhtml" />
                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
                <div class="block navegation">
                    <jdoc:include type="modules" name="navegation" style="xhtml" />
                </div>
                <div class="block content">
                  <?php  if($this->countModules('pright')){ ?>
                    <div class="paneleft"><jdoc:include type="modules" name="pright" style="xhtml" /></div>
                    <div class="panelmain"><jdoc:include type="component" /></div>                    	
                  <?php }else{ ?>
                    <div class='contentmain'><jdoc:include type="component" /></div>
                  <?php } ?>
                  <div class="clear"></div>
  				  <div class="galleries"><jdoc:include type="modules" name="galleries" style="xhtml" /></div>
                </div>
            </div>
        </div>
        <div class="block end">
            <div class="block container">
                <div class="block socialnk">
                    <jdoc:include type="modules" name="socialnk" style="none" />
                    <div class="clear"></div>
                </div>
                <div class="block footer"> <span class="center">
                        <jdoc:include type="modules" name="footer" style="none" />
                    </span> </div>
            </div>
        </div>
        <div style="display: none;">
            <jdoc:include type="modules" name="none" style="none" />
        </div>
        <jdoc:include type="modules" name="script" style="none" />
                        
    </body>
</html>
